sensirive_character = '你好' # 敏感词库
test_sentece = input('请输入一段话:')
for line in sensirive_character:  #遍历输入的字符是存在敏感此库中
    if line in test_sentece:
        test_sentece = test_sentece.replace(line, '*')
print(test_sentece)